@extends('layout.app')

@section('content')

    <div class="box-body">

        <table id="rowed3"></table>
        <div id="prowed3"></div>

    </div>

<script>

$(document).ready(function() {

    var data = {
            url :"/platform",
            colNames: ['Id' ,  '名称'],
            colModel: [{
                name: 'id',
                align: 'center',
                width: 100,
                editable: true,
                editrules: {
                    required: true,
                    integer: true
                }
            }, {
                name: 'name',
                align: 'center',
                editable: true,
            }],
            caption: "渠道列表",
            editurl: "/platform/edit",
            sortname: 'id',
            sortorder: "asc",
            autowidth: false,
            width: 500,
        };

    jqGrid(data, true, true, true);
});

</script>
@endsection